package com.winter.mapper;

import com.winter.model.TExpert;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TExpertMapper {
    int deleteByPrimaryKey(Short id);

    int insert(TExpert record);

    int insertSelective(TExpert record);

    TExpert selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TExpert record);

    int updateByPrimaryKeyWithBLOBs(TExpert record);

    int updateByPrimaryKey(TExpert record);

    List<TExpert> specialistList(@Param("key") String key);
}